﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.Main
{

	/// <summary>
	/// 设备小类
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_deviceSmallType", DisableSyncStructure = true)]
	public partial class TDeviceSmallType {

		/// <summary>
		/// 主键唯一标识Id
		/// </summary>
		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		/// <summary>
		/// 功能地址
		/// </summary>
		[JsonProperty, Column(Name = "actionAddress", StringLength = -2)]
		public string ActionAddress { get; set; }

		/// <summary>
		/// 设备大类Id
		/// </summary>
		[JsonProperty, Column(Name = "bigTypeId")]
		public long? BigTypeId { get; set; }

		/// <summary>
		/// 数据录入时间
		/// </summary>
		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 产品图标地址
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string IconUrl { get; set; }

		/// <summary>
		/// 定位图标地址
		/// </summary>
		[JsonProperty, Column(Name = "locationIconUrl", StringLength = -2)]
		public string LocationIconUrl { get; set; }

		/// <summary>
		/// 类型名称
		/// </summary>
		[JsonProperty, Column(Name = "typeName", StringLength = -2)]
		public string TypeName { get; set; }

	}

}
